package com.xyoto.community.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel("新增留言实体")
@Data
public class SaveGuestBookDTO {

    @ApiModelProperty("留言内容")
    @NotBlank(message = "留言内容不能为空")
    private String content;

}
